package com.gitee.ec.common;

import lombok.Getter;

/**
 * @author hongda.li
 */
@Getter
public class EverythingException extends RuntimeException {

    private final OperationStatus operationStatus;

    public EverythingException(OperationStatus operationStatus) {
        super(operationStatus.getMessage());
        this.operationStatus = operationStatus;
    }
}
